package com.google.sky.register;

import com.google.sky.domain.Mark;

/**
 * Created with IntelliJ IDEA.
 * User: Yuri
 * Date: 18.11.14
 * Time: 12:15
 * To change this template use File | Settings | File Templates.
 */
public class GameRegistryImpl implements GameStateRegister {

    private Mark owner;

    @Override
    public synchronized void  setMoveOwner(Mark owner) {
        this.owner = owner;
    }

    @Override
    public synchronized Mark getMoveOwner() {
        return owner;
    }
}
